﻿namespace YWM.Localization
{
    /// <summary>
    /// 语言管理接口
    /// </summary>
    public interface ILocalizationManager
    {
        string Culture { get; set; }

        string this[string name] { get; }

        /// <summary>
        ///  根据name获取对应的语言
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        string GetString(string name);
    }
}